home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / em7sui_1 / SPHERECO.WR_ / SPHERECO.WR
Text File  |  1998-10-22  |  1KB  |  43 lines

  1. #VRML V2.0 utf8
  2.  
  3. EXTERNPROTO em7_SphereCollection [
  4.     field SFColor defaultColor
  5.     field SFFloat defaultTransparency
  6.     field SFFloat defaultRadius
  7.     field SFString defaultPopupText
  8.     field SFFloat popupHeight
  9.     field SFString allignment
  10.     exposedField SFColor textColor
  11.     exposedField SFColor backgroundColor
  12.     exposedField SFColor borderColor
  13.     field MFVec3f locations
  14.     field MFColor colors
  15.     field MFFloat transparencies
  16.     field MFFloat radii
  17.     field MFString popupText
  18.     exposedField SFBool touchEnabled
  19.     eventIn MFVec3f set_locations
  20.     eventIn MFFloat set_transparencies
  21.     eventIn MFColor set_colors
  22.     eventIn MFFloat set_radii
  23.     eventIn MFString set_popupText
  24.     eventOut SFBool isOver
  25.     eventOut SFInt32 mouseOverIndex
  26.     eventOut SFInt32 mouseClickedIndex
  27. ] "..\VR_GRAPH.wrl#em7_SphereCollection"
  28.  
  29. em7_SphereCollection { 
  30.     defaultColor 0 1 0.7
  31.     defaultRadius 0.2
  32.     defaultPopupText "default text"
  33.     backgroundColor 0.7 0.5 1
  34.     textColor 0 0 0
  35.     popupHeight 0.3
  36.     allignment "RIGHT"
  37.     colors [ 0.6 0.7 0.2, 0 0.3 0.9, 0.9 0.5 0.1]
  38.     locations [ 0 -2 0, 0 -0.5 0, 0 1 0, 0 2.5 0 ]
  39.     transparencies [0.3, 0, 0.7, 0]
  40.     popupText ["first", "second", "third"]
  41. }
  42.  
  43.